﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProcessList.ascx.cs" Inherits="Controls_Activity_ProcessList" %>
<%@ Register src="ProcessRole.ascx" tagname="ProcessRole" tagprefix="uc2" %>

<asp:Panel ID="pnlView" runat="server" Width="600px" CssClass="centerPanel">
<div class="webPanelBorder" >
    <div class="webPanelCaption">审批意见</div>
    <div class="webPanelContent">
        <table cellspacing="1" class="table">
            <asp:Literal ID="literalProcess" runat="server"></asp:Literal>
            <tr runat="server" id="trDescription">
                <td class="tableSubjectWidth">审批意见：</td>
                <td>
                    <ofcc:TextBox ID="tbDescription" runat="server" CssClass="shortInput" style="width:300px;" Rows="5" MaxLength="50" TextMode="MultiLine"></ofcc:TextBox>
                </td>
            </tr>
        </table>
    </div>
</div>

<div class="webPanelButtonArea">
    <ofcc:LinkButton ID="btnUpdate" runat="server" CssClass="linkButton" Visible="false"
        ValidationGroup="submit" onclick="btnUpdate_Click">保存</ofcc:LinkButton>
    <ofcc:LinkButton ID="btnApprove" runat="server" CssClass="linkButton" Visible="false"
        ValidationGroup="submit" onclick="btnApprove_Click">同意</ofcc:LinkButton>
    <ofcc:LinkButton ID="btnSendBack" runat="server" CssClass="linkButton" Visible="false"
        ValidationGroup="submit" onclick="btnSendBack_Click">退回</ofcc:LinkButton>
    <ofcc:LinkButton ID="btnReject" runat="server" CssClass="linkButton" Visible="false"
        ValidationGroup="submit" onclick="btnReject_Click">拒绝</ofcc:LinkButton>    
    <ofcc:LinkButton ID="btnCancel" runat="server" CssClass="linkButton" 
        onclick="btnCancel_Click">取消</ofcc:LinkButton>    
</div>

<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="tbDescription"
    Display="None" ErrorMessage="请输入审批意见" ValidationGroup="submit"></asp:RequiredFieldValidator>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" EnableViewState="False"
    ShowMessageBox="True" ShowSummary="False" ValidationGroup="submit" />
</asp:Panel>

<asp:Panel ID="pnlRole" runat="server" Width="600px" Visible="false" CssClass="centerPanel">
<uc2:ProcessRole ID="ProcessRole1" runat="server" />
</asp:Panel>
<asp:HiddenField ID="hfInstanceID" runat="server" />
<asp:HiddenField ID="hfReadOnly" runat="server" />
